package cn.com.twoke.application.game.mario.game.component;

import cn.com.twoke.application.game.mario.core.ecs.component.Component;
import lombok.Data;

/**
 * 场景组件
 */
@Data
public class SceneComponent implements Component {
    private static Boolean DEBUG = false;


    public static void enableDebug(){
        DEBUG = true;
    }

    public static Boolean isDebug(){
        return DEBUG;
    }

    /**
     * 场景名称
     */
    private String name;

    public SceneComponent(String name) {
        this.name = name;
    }

}
